import { request } from '@/common/utils/request'

// 名录设置
export const getDirectoryApi = (data) => {
    return request({
        url: '/param/config/wasteDirectoryList',
        method: 'GET',
        data
    })
}

// 终端设置
export const terminalDevices = (data) => {
    return request({
        url: '/biz/terminalDevices/page',
        method: 'GET',
        data
    })
}

// 终端称重设置
export const terminalDevicesEdit = (data) => {
    return request({
        url: '/biz/terminalDevices/edit',
        method: 'POST',
        data
    })
}

// 名录称重设置
export const updateDirectoryWeighSetApi = (data) => {
    return request({
        url: '/h5/directoryWeighSet',
        method: 'POST',
        data
    })
}